package com.k8sops.backend.model.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

/**
 * @Description DOS Release YAML 实体类
 * @Date 2025/06/03
 * @Version 1.0
 **/
@EqualsAndHashCode(callSuper=false)
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("dos_release_yaml")
public class DOSReleaseYaml {
    @TableId(value = "id",type = IdType.AUTO)
    private Long id;
    /**
     * 创建时间
     **/
    @TableField("create_time")
    private LocalDateTime createTime;

    /**
     * Release ID
     **/
    @TableField("release_id")
    private Integer releaseId;

    /**
     * 版本号
     **/
    @TableField("version")
    private Integer version;

    /**
     * YAML内容
     **/
    @TableField("yaml_content")
    private String yamlContent;
}
